/*
 * @Author: wangwenshuai 644586996@qq.com
 * @Date: 2022-11-07 10:30:59
 * @LastEditors: wangwenshuai 644586996@qq.com
 * @LastEditTime: 2022-11-07 14:49:29
 * @FilePath: \CarbonPccountingProject\carbon_accounting_project\src\store\actions.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const actions = {

    setStepsCurrent({ commit }, num) {
        return commit('SET_STEPS_CURRENT', num)
    },
    setCycleId({ commit }, cycleId) {
        return commit('SET_CYCLEID', cycleId)
    },
    setFillData({ commit }, fillData) {
        return commit('SET_FILLDATA', fillData)
    },
    setBasicInformation({ commit }, basicInformation) {
        return commit('SET_BASICINFORMATION', basicInformation)
    },
    setResult({ commit }, result) {
        return commit('SET_RESULT', result)
    },
    setDeviceType({ commit }, deviceType) {
        return commit('SET_DEVICETYPE', deviceType)
    },
    setSlidingWindowDisplay({ commit }, slidingWindowDisplay) {
        return commit('SET_SLIDINGWINDOWDISPLAY', slidingWindowDisplay)
    },
    setLoading({ commit }, loading) {
        return commit('SET_LOADING', loading)
    }



}
export default actions